home *** CD-ROM | disk | FTP | other *** search
/ Micromanía: 150 Juegos 2010 / 150Juegos_16.iso / Shareware / Shape Smash / shape-smash.swf / scripts / Box2D / Common / _kc225.as next >
Encoding:
Text File  |  2010-05-14  |  1.9 KB  |  65 lines

  1. package Box2D.Common
  2. {
  3.    import Box2D.Common.Math.b2Vec2;
  4.    
  5.    public class _kc225
  6.    {
  7.       public static const USHRT_MAX:int = 65535;
  8.       
  9.       public static const b2_pi:Number = Math.PI;
  10.       
  11.       public static const b2_maxManifoldPoints:int = 2;
  12.       
  13.       public static const b2_maxPolygonVertices:int = 8;
  14.       
  15.       public static const b2_maxProxies:int = 512;
  16.       
  17.       public static const b2_maxPairs:int = 8 * b2_maxProxies;
  18.       
  19.       public static const b2_linearSlop:Number = 0.005;
  20.       
  21.       public static const b2_angularSlop:Number = 2 / 180 * b2_pi;
  22.       
  23.       public static const b2_toiSlop:Number = 8 * b2_linearSlop;
  24.       
  25.       public static const b2_maxTOIContactsPerIsland:int = 32;
  26.       
  27.       public static const b2_velocityThreshold:Number = 1;
  28.       
  29.       public static const b2_maxLinearCorrection:Number = 0.2;
  30.       
  31.       public static const b2_maxAngularCorrection:Number = 8 / 180 * b2_pi;
  32.       
  33.       public static const b2_maxLinearVelocity:Number = 200;
  34.       
  35.       public static const b2_maxLinearVelocitySquared:Number = b2_maxLinearVelocity * b2_maxLinearVelocity;
  36.       
  37.       public static const b2_maxAngularVelocity:Number = 250;
  38.       
  39.       public static const b2_maxAngularVelocitySquared:Number = b2_maxAngularVelocity * b2_maxAngularVelocity;
  40.       
  41.       public static const b2_contactBaumgarte:Number = 0.2;
  42.       
  43.       public static const b2_timeToSleep:Number = 0.5;
  44.       
  45.       public static const b2_linearSleepTolerance:Number = 0.01;
  46.       
  47.       public static const b2_angularSleepTolerance:Number = 2 / 180;
  48.       
  49.       public function _kc225()
  50.       {
  51.          super();
  52.       }
  53.       
  54.       public static function _qf234(param1:Boolean) : void
  55.       {
  56.          var _loc2_:b2Vec2 = null;
  57.          if(!param1)
  58.          {
  59.             ++_loc2_.x;
  60.          }
  61.       }
  62.    }
  63. }
  64.  
  65.